package com.d3works.apps.base.db.repo;

import com.d3works.apps.base.db.ImportConfiguration;

public class ImportConfigurationBaseRepository extends ImportConfigurationRepository {

  @Override
  public ImportConfiguration copy(ImportConfiguration entity, boolean deep) {
    ImportConfiguration importConfiguration = super.copy(entity, deep);
    importConfiguration.setImportHistoryList(null);
    importConfiguration.setStatusSelect(ImportConfigurationRepository.STATUS_DRAFT);
    importConfiguration.setStartDateTime(null);
    importConfiguration.setEndDateTime(null);
    return importConfiguration;
  }
}
